/*
 * @Author: YNT 2501512800@qq.com
 * @Date: 2023-04-20 11:37:30
 * @LastEditors: YNT 2501512800@qq.com
 * @LastEditTime: 2023-04-21 08:31:07
 * @FilePath: \20220806后台\src\api\modules\landscape.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default class {
  //#region 随手拍
  getDisclosureList(params) {
    return this.request({
      url: `/admin/v1/disclosure/list`,
      method: "GET",
      params,
    });
  }

  getDisclosureInfo(id) {
    return this.request({
      url: `/admin/v1/disclosure?id=${id}`,
      method: "GET",
    });
  }
  // editPhotograph(id, data) {
  //   return this.request({
  //     url: `/api/admin/feedback/${id}/`,
  //     method: "PUT",
  //     data,
  //   });
  // }

  solveDisclosure(id, data) {
    return this.request({
      url: `/admin/v1/disclosure?id=${id}`,
      method: "POST",
      data,
    });
  }
}
